using System;
using System.IO;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ACM.cmsarea08;
using ACM.cmsarea08.Core;
using ACM.cmsarea08.Controls;
using ACM.cmsarea08.Administration;

using ICSharpCode.SharpZipLib.Checksums;
using ICSharpCode.SharpZipLib.Zip.Compression;
using ICSharpCode.SharpZipLib.Zip.Compression.Streams;
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.GZip;
using ICSharpCode.SharpZipLib.BZip2;
using ICSharpCode.SharpZipLib.Tar;

namespace ACM.cmsarea08.Administration.Core {
	public partial class gesUMenu :  BaseDGridPage {
		private ACM.cmsarea08.Administration.Core.DBClass dclass = new cmsarea08.Administration.Core.DBClass();
		private ACM.cmsarea08.Function.TextClass tlc = new ACM.cmsarea08.Function.TextClass();

		protected SuggestionTextBox groupsearch;
		//protected SuggestionTextBox usersearch;
		
		
		override protected void OnInit(EventArgs e)
		{
			this.groupsearch.Sql = "SELECT ruolo FROM "+ACM.cmsarea08.mainconfiguration.MainConf.PrefissoTabelle+"ruoli where ruolo like [dp]";
			this.groupsearch.DynPart = "[dp]";
			//this.usersearch.Sql = "SELECT username FROM "+ACM.cmsarea08.mainconfiguration.MainConf.PrefissoTabelle+"utenti where username like [dp]";
			//this.usersearch.DynPart = "[dp]";				
			InitializeComponent();
			base.OnInit(e);
			
		}

		private void InitializeComponent()
		{
			if(this.Master is ACM.cmsarea08.Administration.Core.ListerPrivate) {
				((ACM.cmsarea08.Administration.Core.ListerPrivate)this.Master).adm_button.Visible=false;
			}
			
		
			this.Load += new System.EventHandler(this.Page_Load);
		}
	
		private void Page_Load(object o , EventArgs e) {
			if(!Page.IsPostBack) {
			}
			
			
		}
	}
	
}
